<?php
/**
 * 全局URL路由配置
 * Created by PhpStorm.
 * @author  cbwfree
 */

use \think\Route;
// 主后台模块路由
Route::controller('index','admin/Index');   //首页数据
Route::controller('login','admin/Login');   //登录接口
Route::controller('menu','admin/Menu');   //菜单接口
Route::controller('role','admin/Role');   //角色接口
Route::controller('adminuser','admin/Adminuser');   //管理员接口
Route::controller('config','admin/Config');   //配置接口
Route::controller('amember','admin/Member');   //用户接口
Route::controller('quan','admin/Quan');   //福券管理
Route::controller('act','admin/Act');   //乐善好施
Route::controller('recharge','admin/Recharge');   //充值明细
Route::controller('draw','admin/Draw');   //提现明细
Route::controller('company','admin/Company');   //寺院管理
Route::controller('companytag','admin/CompanyTag');   //寺院标注接口
Route::controller('message','admin/Message');   //消息管理
Route::controller('info','admin/Info');   //资讯管理
Route::controller('zongpai','admin/Mzongpai');   //资讯管理
Route::controller('upload','admin/Upload');   //上传管理
Route::controller('zpai','admin/Mzongpai');   //宗派管理
Route::controller('data','admin/Data');   //数据库管理
Route::controller('daily','admin/DailyMeditation');   //每日一禅
Route::controller('areport','admin/Report');   //举报接口
Route::controller('commanager','admin/ManagerCompany');   //法师寺院接口
Route::controller('agather','admin/Gather');   //寺院活动接口
Route::controller('gatherreg','admin/Gatherreg');   //报名人接口
Route::controller('abuddhist','admin/BuddhistService');   //佛事预约接口
Route::controller('aidea','admin/Idea');   //意见反馈
Route::controller('book','admin/Book');   //书本接口
Route::controller('bookchapter','admin/BookChapter');   //章节接口
Route::controller('anewstopic','admin/NewsTopic');   //资讯评论接口
Route::controller('pratice','admin/Pratice');   //修行设置接口
Route::controller('apray','admin/Pray');   //祈福忏悔接口
Route::controller('goods','admin/Goods');   //商品接口
Route::controller('goodsoption','admin/GoodsOption');   //商品规格接口
Route::controller('aorder','admin/Order');   //订单接口
Route::controller('arefund','admin/OrderRefund');   //退款接口
//子后台模块路由
Route::controller('indexs','adminson/Index');   //首页数据
Route::controller('logins','adminson/Login');   //登录接口
Route::controller('duty','adminson/Duty');   //职位接口
Route::controller('mem','adminson/Member');   //信徒接口

//主前台模块路由
Route::controller('hlogin','home/Login');   //首页数据
Route::controller('hcompany','home/Company');   //寺院接口
Route::controller('district','home/District');   //地区接口
Route::controller('hact','home/Act');   //地区接口
Route::controller('gather','home/Gather');   //法会活动接口
Route::controller('banner','home/Banner');   //轮播图接口
Route::controller('new','home/News');   //资讯接口
Route::controller('newstopic','home/NewsTopic');   //资讯评论接口
Route::controller('cate','home/Cate');   //分类接口
Route::controller('classes','home/Classes');   //课程接口
Route::controller('beads','home/PlayBeads');   //念珠接口
Route::controller('member','home/Member');   //用户接口
Route::controller('manager','home/Manager');   //法师接口
Route::controller('fgroup','home/Fgroup');   //善友圈接口
Route::controller('mess','home/Message');   //消息接口
Route::controller('friend','home/Friends');   //好友接口
Route::controller('flike','home/Flike');   //好友接口
Route::controller('topic','home/Toppic');   //论坛接口
Route::controller('topiclike','home/Topiclike');   //点赞接口
Route::controller('hrecharge','home/Recharge');   //资金接口
Route::controller('openid','home/Openid');   //资金接口
Route::controller('share','home/Share');   //分享接口
Route::controller('fu','home/Fu');   //福券接口
Route::controller('report','home/Report');   //福券接口
Route::controller('weixin','home/Weixin');   //福券接口
Route::controller('buddhist','home/BuddhistService');   //佛事预约接口
Route::controller('idea','home/Idea');   //意见反馈接口
Route::controller('hbook','home/Book');   //书本接口
Route::controller('hbookchapter','home/BookChapter');   //书本章节接口
Route::controller('hpractice','home/Practice');   //修行接口
Route::controller('pray','home/Pray');   //祈福忏悔接口
Route::controller('hgoods','home/Goods');   //商品接口
Route::controller('goodsilike','home/GoodsIlike');   //商品接口
Route::controller('order','home/Order');   //订单接口
Route::controller('comment','home/OrderComment');   //评论接口
Route::controller('pedestrian','home/OrderPedestrian');   //出行人接口
Route::controller('refund','home/OrderRefund');   //订单退款接口